import {requestJson} from '../utils/request';
import request from '../utils/request';
//获取列表分页查询数据 经济核算系统
export async function postCheck(params) {
    return requestJson(
        '/hh-management-web/gnhj/economicaccounting/findEconomicAccounting_QueryData',
        {
            method:'post',
            body:params
        }
    )
}
//接口名称 批量新增 经济核算系统

export async function postBatchNew(params) {
    return requestJson(
        '/hh-management-web/gnhj/economicaccounting/insertBatchEconomicAccounting',
        {
            method:'post',
            body:params
        }
    )
}

//报表管理系统/报表填报/能源消耗统计表/分页查询
export async function reportformsinquire (params) {
    return requestJson(
        '/hh-management-web/gnhj/energyconsumption/queryEnergyConsumptionList',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤处理量统计表/分页查询
export async function disposeQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilTreatment/querySoilTreatmentList',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤修复指标汇总表/分页查询
export async function repairQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilremediation/querySoilRemediationList',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/能源消耗统计表/新增
export async function reportformsadd (params) {
    return requestJson(
        '/hh-management-web/gnhj/energyconsumption/insertEnergyConsumption',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤处理量统计表/新增
export async function disposeAdd (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilTreatment/insertSoilTreatment',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤修复指标汇总表/新增
export async function repairAdd (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilremediation/insertSoilRemediation',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/能源消耗统计表/删除
export async function statementDelete (params) {
    return requestJson(
        '/hh-management-web/gnhj/energyconsumption/deleteEnergyConsumptions',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤处理量统计表/删除
export async function disposeDelete (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilTreatment/deleteSoilTreatments',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤修复指标汇总表/删除
export async function repairDelete (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilremediation/deleteSoilRemediations',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表查询/分页查询
export async function querypaging (params) {
    return requestJson(
        '/hh-management-web/gnhj/reportquery/queryList',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/能源消耗统计表/编辑
export async function statementEdit (params) {
    return requestJson(
        '/hh-management-web/gnhj/energyconsumption/updateEnergyConsumption',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤处理量统计表/编辑
export async function disposeEdit (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilTreatment/updateSoilTreatment',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤修复指标汇总表/编辑
export async function repairEdit (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilremediation/updateSoilRemediation',
        {
            method:'post',
            body:params
        }
    )
}
//报表管理系统/报表填报/土壤修复指标汇总表/自定义查询
export async function repairRefer (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilremediation/querySoilRemediationList',
        {
            method:'post',
            body:params
        }
    )
}
//经济核算系统/删除
export async function CheckDelete (params) {
    return requestJson(
        '/hh-management-web/gnhj/economicaccounting/deleteEconomicAccounting',
        {
            method:'post',
            body:params
        }
    )
}
//经济核算系统/编辑
export async function CheckEdit (params) {
    return requestJson(
        '/hh-management-web/gnhj/economicaccounting/updateEconomicAccounting',
        {
            method:'post',
            body:params
        }
    )
}


//生产管理系统/报警管理/历史报警分页查询
export async function AlarHistorypages (params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/historicalAlarm',
        {
            method:'post',
            body:params
        }
    )
}
//生产管理系统/报警管理/当日报警分页查询
export async function AlarTodayQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/theAlarm',
        {
            method:'post',
            body:params
        }
    )
}
//生产管理系统/报警管理/报警详情
export async function AlarDetails (params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/alarmParticulars',
        
        {
            method:'post',
            body:params
        }
    )
}
//生产管理系统/报警管理/报警详情
export async function alarmStatistics (params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/alarmStatistics',
        
        {
            method:'post',
            body:params
        }
    )
}
//生产管理系统/数据趋势分析查询
export async function TrendQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/analoguepoint/dataTrendAnalysis',
        
        {
            method:'post',
            body:params
        }
    )
}





//登录

export async function Loginapi (params) {
    return requestJson(
        '/hh-management-web/gnhj/login/login',
        {
            method:'post',
            body:params
        }
    )
}
//修改密码

export async function passWd (params) {
    return requestJson(
        '/hh-management-web/gnhj/login/modifyPassword',
        {
            method:'post',
            body:params
        }
    )
}


//后台配置/数据配置
export async function bgConQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantstandardconfig/findAll',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据配置/查询项目开工时间
export async function bgConQueryTime (params) {
    return requestJson(
        '/hh-management-web/gnhj/projectstarttime/findTime',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据配置/查询项目开工时间
export async function bgConQueryEditTime (params) {
    return requestJson(
        '/hh-management-web/gnhj/projectstarttime/setTime',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据配置/编辑
export async function bgConEdit (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantstandardconfig/batchUpdate',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据录入/查询
export async function entryQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantentering/findList',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据录入/录入
export async function entryAdd (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantentering/svaeOrUpdate',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据录入/录入
export async function entryDelete (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantentering/delete',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据录入/编辑查询
export async function entryEditQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantentering/findOne',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据录入/编辑
export async function entryEdit (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantentering/svaeOrUpdate',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/数据录入/查询
export async function entryQueryTime (params) {
    return requestJson(
        '/hh-management-web/gnhj/pollutantentering/findList',
        {
            method:'post',
            body:params
        }
    )
}

//安环管理系统/环保指标数据管理/获取实时数据
export async function EnvRealGain (params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicat/getNewData',
        {
            method:'post',
            body:params
        }
    )
}
//安环管理系统/环保指标数据管理/获取各种指标实时数据
export async function EnvTrendGain (params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicat/getNewEchartsData1',
        {
            method:'post',
            body:params
        }
    )
}
//安环管理系统/环保指标数据管理/历史数据查询
export async function EnvHisQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicat/getHistoryEchartsData',
        {
            method:'post',
            body:params
        }
    )
}
//安环管理系统/环保指标报警管理/当日报警/
export async function IndexDayQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicatalarm/getThisDateAlarm',
        {
            method:'post',
            body:params
        }
    )
}
//安环管理系统/环保指标报警管理/当日报警/报警详情/查询
export async function IndexDayTrendQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicatalarm/getAlarmInformation',
        {
            method:'post',
            body:params
        }
    )
}
//安环管理系统/环保指标报警管理/历史报警/查询
export async function IndexHistoryQuery (params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicatalarm/getHistoryAlarm',
        {
            method:'post',
            body:params
        }
    )
}
//生产管理系统/报警管理/图标查询2
export async function alarmStatistics2 (params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/alarmStatistics2',
        {
            method:'post',
            body:params
        }
    )
}
//生产管理系统/报警管理/图标查询4
export async function alarmStatistics4 (params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/alarmStatistics4',
        {
            method:'post',
            body:params
        }
    )
}
//生产管理系统/报警管理/图标查询56
export async function alarmStatistics56 (params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/alarmStatistics56',
        {
            method:'post',
            body:params
        }
    )
}



//后台配置/模型参数/查询
export async function findAll (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilremediationstandards/findAll',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/模型参数/数字输入框查询
export async function findData (params) {
    return requestJson(
        '/hh-management-web/gnhj/modeldata/findData',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/模型参数/数字输入框编辑
export async function update (params) {
    return requestJson(
        '/hh-management-web/gnhj/modeldata/update',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/模型参数/恢复默认
export async function restoreDefaults (params) {
    return requestJson(
        '/hh-management-web/gnhj/modeldata/restoreDefaults',
        {
            method:'post',
            body:params
        }
    )
}
//后台配置/模型参数/编辑表格
export async function biaogeupdate (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilremediationstandards/update',
        {
            method:'post',
            body:params
        }
    )
}
//土壤修复大数据模型/添加
export async function getRepairStandard (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilDataModel/getRepairStandard',
        {
            method:'post',
            body:params
        }
    )
}
//土壤修复大数据模型/运行
export async function soilDataModeloperation (params) {
    return requestJson(
        '/hh-management-web/gnhj/soilDataModel/operation',
        {
            method:'post',
            body:params
        }
    )
}
